package cn.org.eshow.bean.query;

import java.util.Date;

/**
 * 购物车查询对象
 */
public class CartQuery extends BaseQuery {


    public Date startAddTime;//开始添加时间
    public Date endAddTime;//结束添加时间
    public String category;//分类（shop店铺，user用户）
    public String type;// 价格类型
    public Double price;// 成交价
    public Integer quantity;// 数量
    public Integer productId;// 商品ID
    public Integer productItemId;//详细商品ID
    public Integer userId;// 用户ID


    public CartQuery() {
        super();
    }

    public CartQuery(Integer userId) {
        this.userId = userId;
    }

    public CartQuery(Integer productItemId, Integer userId) {
        this.productItemId = productItemId;
        this.userId = userId;
    }

    public Date getStartAddTime() {
        return startAddTime;
    }

    public void setStartAddTime(Date startAddTime) {
        this.startAddTime = startAddTime;
    }

    public Date getEndAddTime() {
        return endAddTime;
    }

    public void setEndAddTime(Date endAddTime) {
        this.endAddTime = endAddTime;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getProductItemId() {
        return productItemId;
    }

    public void setProductItemId(Integer productItemId) {
        this.productItemId = productItemId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}